import { http } from "@/utils/http";
import { baseUrlApi } from "./utils";

export const postStudent = (data: any) => {
  return http.request("post", baseUrlApi("/add_student"), { data });
};

export const batchImportStudentsFromXlsx = (data: any) => {
  return http.request("post", baseUrlApi("/batch_import_students_from_xlsx"), {
    data
  });
};
